package cn.coopen.italktv.networkcheckdemo;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends AppCompatActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}


	/**
	 * 启动服务
	 * @param v
	 */
	public void click(View v){
		Intent sintent=new Intent(this,NetWorkCheckService.class);
		startService(sintent);
	}
}
